package com.talis.platform.client;

import com.talis.http.Response;

public class ClientException extends Exception {

    private Response response;

    public ClientException(Response response){
        this.response = response;
    }
    
    public ClientException(String message, Response response){
        super(message);
        this.response = response;
    }
    
    public ClientException(String message, Throwable cause) {
        super(message, cause);
    }

    public ClientException(String message) {
        super(message);
    }

    public ClientException(Throwable cause) {
        super(cause);
    }

    public Response getServiceResponse(){
        return response;
    }
}
